<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Title</title>
  </head>
  <body>
    <div id="test"></div>
    <script src="./htmlReplacer.preview.js"></script>
    <script type="text/javascript">
      var str = `aaaaaa.abcd.a <span class="ff">from</span> to b.`
      var focusers = [
        {
          word: 'ff'
        }
      ]
      var focusStr = htmlReplacer.focus(str, focusers)
      document.querySelector('#test').innerHTML = focusStr
    </script>
  </body>
</html>
